package com.hkts.naturalgas.performance.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yck
 * @since 2020-12-22
 */
public class HkAssessmentIndex extends Model<HkAssessmentIndex> {

    private static final long serialVersionUID = 1L;
    public static String SCORE_TYPE_DELETE="0";
    public static String SCORE_TYPE_ADD="1";
    private String id;
    private String createBy;
    private LocalDateTime createTime;
    private Integer delFlag;
    private String updateBy;
    private LocalDateTime updateTime;
    private String indexDescribe;
    private String indexName;
    private Double indexScore;
    /**
     * 指标类型（0.加分项1.减分项2.加减分项3.自定义加分项4.自定义减分项）
     */
    private Integer indexType;

    /**
     * 指标分类名称
     */
    private String indexClassifyName;

    /**
     * 指标分类id
     */
    private String indexClassifyId;

    /**
     * 岗位id
     */
    private String departmentId;
    /**
     * 岗位名称
     */
    private String departmentName;

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Integer getIndexType() {
        return indexType;
    }

    public void setIndexType(Integer indexType) {
        this.indexType = indexType;
    }

    public String getIndexClassifyName() {
        return indexClassifyName;
    }

    public void setIndexClassifyName(String indexClassifyName) {
        this.indexClassifyName = indexClassifyName;
    }

    public String getIndexClassifyId() {
        return indexClassifyId;
    }

    public void setIndexClassifyId(String indexClassifyId) {
        this.indexClassifyId = indexClassifyId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getIndexDescribe() {
        return indexDescribe;
    }

    public void setIndexDescribe(String indexDescribe) {
        this.indexDescribe = indexDescribe;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public Double getIndexScore() {
        return indexScore;
    }

    public void setIndexScore(Double indexScore) {
        this.indexScore = indexScore;
    }

    public static final String ID = "id";

    public static final String CREATE_BY = "create_by";

    public static final String CREATE_TIME = "create_time";

    public static final String DEL_FLAG = "del_flag";

    public static final String UPDATE_BY = "update_by";

    public static final String UPDATE_TIME = "update_time";

    public static final String INDEX_DESCRIBE = "index_describe";

    public static final String INDEX_NAME = "index_name";

    public static final String INDEX_SCORE = "index_score";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HkAssessmentIndex{" +
                ", id=" + id +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", delFlag=" + delFlag +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                ", indexDescribe=" + indexDescribe +
                ", indexName=" + indexName +
                ", indexScore=" + indexScore +
                "}";
    }
}
